﻿<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets
    xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>Create CommandBinding</Title>
      <Author>Teacher彭</Author>
      <Description>生成CommandBinding</Description>
      <Shortcut>cb</Shortcut>
    </Header>
    <Snippet>
      <Declarations>
        <Literal>
          <ID>Key</ID>
          <ToolTip>Resource Key</ToolTip>
          <Default>Key</Default>
        </Literal>
      </Declarations>
      <Code Language="xaml">
        <![CDATA[<CommandBinding Command="{StaticResource $Key$}" Executed="On$Key$_Executed" CanExecute="On$Key$_CanExecute" />]]>
      </Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>
